package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

        import java.time.LocalDateTime;

/**
* <p>
* 日志记录表
* </p>
*
* @author huangrensen
* @since 2024-06-20
*/
@Schema
@Data
public class SysLogRecordForm {

    @Schema(description="周期")
    private String period;

    @Schema(description="开始执行时间")
    private String startTime;

    @Schema(description="运行结果(0失败1成功)")
    private int result;

    @Schema(description="下载文件名")
    private String fileName;

    @Schema(description="备注")
    private String remark;

    @Schema(description="ID")
    @NotNull(message = "ID不能为空")
    private Long id;

    @Schema(description="需要移除缓存的Key")
    @NotNull(message = "需要移除缓存的Key不能为空")
    private String key;
}
